package ufrj.devagil.timer;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;

public class Sobre 
{
    private static String info = "Time it! - Beta Version\n\n"
	    		+ "Des. Agil - UFRJ - 2012/1\n\n"
	    		+ "Profs:\n"
	    		+ " - Rodrigo de Toledo\n"
	    		+ " - Carlos Felippe\n\n"
	    		+ "Alunos:\n"
	    		+ " - Bruno Mattos \n"
	    		+ " - Carolina Szkruc \n"
	    		+ " - David Santos \n"
	    		+ " - Flavio Barbosa \n"
	    		+ " - Leandro Sousa \n"
	    		+ " - Luis Estrella \n"
	    		+ " - Luiz Pericolo \n";
    
    public static void mostrarInfo(Context context)
    {
	AlertDialog.Builder builder = new AlertDialog.Builder(context);
	//builder.setTitle("Sobre o Time it!")
	builder.setMessage(info)
		.setCancelable(false)
		.setNegativeButton("OK", new DialogInterface.OnClickListener() 
			{
		    	   public void onClick(DialogInterface dialog, int which) 
		    	   {
		    	       dialog.cancel();
		    	   }
			});
	
	AlertDialog alert = builder.create();
	alert.show();
    }
}
